package com.qianya.system.manage.web.login.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qianya.model.pojo.login.qo.LoginDeptFindQO;
import com.qianya.model.pojo.login.qo.LoginDeptQO;
import com.qianya.model.pojo.login.vo.LoginDeptVO;
import com.qianya.model.pojo.login.vo.LoginUsersVO;
import com.qianya.system.manage.web.login.model.LoginDept;
import com.qianya.model.common.CommonResult;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* <p>
    *  部门 服务类
    * </p>
* @author lhl
* @since 2020-07-02
*/
public interface ILoginDeptService extends IService<LoginDept> {
        CommonResult find(LoginDept loginDept);
        CommonResult renewal(LoginDept loginDept,HttpServletRequest request);
        CommonResult create(LoginDept loginDept);
        LoginDept findById(String deptId);
        CommonResult findAll(LoginDeptFindQO loginDeptQO);
        LoginDeptVO findByName(String deptName);
        CommonResult findAllDept();
}
